package com.mitake.parse;


import com.mitake.parse.Day5.Day5Item;
import com.mitake.utils.ParseUtil;

public class MitakeDay5 {
	
	
	public static Day5 parseDay5(String src){
		   Day5 day5 =new Day5();
			String [] block03 = src.split(ParseUtil.SPLIT_0x03);
			for(int j=0; j<block03.length; j++){
				String[] block02 = block03[j].split(ParseUtil.SPLIT_0x02);
				Day5Item day5Item =new Day5Item();
				String datetime = ParseUtil.base93.getDecodeNumber(block02[2]);
				day5Item.datetime = datetime;
				day5Item.lastPrice = ParseUtil.base93.getDecodeNumber(block02[0]);
				day5Item.volume = ParseUtil.base93.getDecodeNumber(block02[1]);
				day5.day5Map.put(datetime, day5Item);
			}
			return day5;
	}
	
	

	
}
